<?php ob_start();?>
<html>
<?php 
	$root = $_SERVER['DOCUMENT_ROOT'];
 	include($root.'/standart/head.php');
 	include($root.'/standart/dateHeader.php');
 	include($root.'/standart/checkUser.php');
?>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Start Bootstrap - SB Admin Version 2.0 Demo</title>
    <link href="../css/bootstrap.min.css" rel="stylesheet">
    <link href="../font-awesome/css/font-awesome.css" rel="stylesheet">
    <link href="../css/sb-admin.css" rel="stylesheet">
    <script type="text/javascript" src="../js/jquery-1.10.2.js"></script>
    <script type="text/javascript" src="../js/ajax.js"></script>
</head>

<body>

<div class="panel panel-default" id="unitPane">
    <div class="panel-heading" >
    	Malzeme Tipi Girişi
	</div>
	<div class="panel-body">
		<div class="row">
			<div class="col-lg-12">
				<div class="form-group" >
                	<label>Birim Kısa Adı</label>
					<input class="form-control" id="unit_short_name" type="text">
				</div>
				<div class="form-group" >
					<label>Birim Adı</label>
					<input class="form-control" id="unit_name" type="text">
				</div>
				<button type="button" onclick="saveUnit(document.getElementById('unit_short_name').value, document.getElementById('unit_name').value)" class="btn btn-default">Kaydet</button>
			</div>
    	</div>
	</div>
</div>
				
    <!-- /#wrapper -->
	<div id="invisContentView" style="display: none;"></div>
    <!-- Core Scripts - Include with every page -->
    <!-- Page-Level Demo Scripts - Forms - Use for reference -->
</body>

</html>
<?php ob_end_flush(); ?>